<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>管理印章</title>
    <link rel="stylesheet" href="/asset/layui/css/layui.css">
    <link rel="stylesheet" href="/asset/css/index.css">
    <script src="/asset/layui/layui.js"></script>
    <link rel="Shortcut Icon" href="cachet.ico">
</head>
<body >
<div class="x-body">

	<div class="layui-form-item">
	    
	    <div class="layui-inline">
	      <label class="layui-form-label">设备编号</label>
	      <div class="layui-input-inline layui-form-mid layui-word-aux">
	      	${devices.devicesCode}
	      </div>
	    </div>
	</div>

		
	<div class="layui-form-item">
	    <div class="layui-inline">
	      <label class="layui-form-label">设备名称</label>
	      <div class="layui-input-inline layui-form-mid layui-word-aux">
	      	<#if devices.seal??>
	      		${devices.seal.sealName}
	      	<#else>
	      		未设置
	      	</#if>
	      </div>
	    </div>
	    
	    <div class="layui-inline">
	      <label class="layui-form-label">状态</label>
	      <div class="layui-input-inline layui-form-mid layui-word-aux">
	      		<@linkage type="DEVICES_STATUS" key=devices.devicesStatus>
        		<span class="${linkage.style}">${linkage.name}</span>
        		</@linkage>
	      </div>
	    </div>
	</div>
	
	<div class="layui-form-item">
	    <div class="layui-inline">
	      <label class="layui-form-label">开通时间</label>
	      <div class="layui-input-inline layui-form-mid layui-word-aux">
	      	
	      	<#if devices.installTime??>
    			${devices.installTime?string('yyyy-MM-dd')}
    		<#else>
    			未开通
    		</#if>
	      	
	      </div>
	    </div>
	    <div class="layui-inline">
	      <label class="layui-form-label">失效时间</label>
	      <div class="layui-input-inline layui-form-mid layui-word-aux">
	      	
	      	<#if devices.expireDate??>
                        		${devices.expireDate?string('yyyy-MM-dd')}
                        		<#else>
                        			永久
                        		</#if>
	      	
	      </div>
	    </div>
	</div>
	
	<div class="layui-form-item">
	    <div class="layui-inline">
	      <label class="layui-form-label">设备型号</label>
	      <div class="layui-input-inline layui-form-mid layui-word-aux">
	      	${devices.model}
	      </div>
	    </div>
	    <div class="layui-inline">
	      <label class="layui-form-label">固件版本</label>
	      <div class="layui-input-inline layui-form-mid layui-word-aux">
	      	${devices.devicesVerson}
	      </div>
	    </div>
	</div>
	
	
  </div>
</div>

</body>
</html>